package appapi.Vo;

import appapi.entity.auth.RoleEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;
import org.springframework.beans.BeanUtils;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 请求对象
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/05/19 10:42
 */
@ApiModel
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class AddStaffRoleVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "用户id", required = true)
    @NotNull(message = "用户id不能为空")
    private Long staffId;
    @ApiModelProperty(value = "角色ID", required = true)
    private List<Long> roleIds;
    @ApiModelProperty(value = "人员绑定角色备注")
    private String note;

}
